package com.qingfeng.qfcms.domin;


import java.io.Serializable;
import java.util.List;

/**
 * @description：资源
 * @author：mengxd
 * @date：2015/10/1 14:51
 */
public class Resource implements Serializable {

    private String MENU_ID;
    private String MENU_NAME;
    private String MENU_URL;
    private String PARENT_ID;
    private String MENU_ORDER;
    private String MENU_ICON;
    private String MENU_TYPE;
    private String target;

    private Resource parentMenu;
    private List<Resource> subMenu;

    private boolean hasMenu = false;

    public String getMENU_ID() {
        return MENU_ID;
    }
    public void setMENU_ID(String mENU_ID) {
        MENU_ID = mENU_ID;
    }
    public String getMENU_NAME() {
        return MENU_NAME;
    }
    public void setMENU_NAME(String mENU_NAME) {
        MENU_NAME = mENU_NAME;
    }
    public String getMENU_URL() {
        return MENU_URL;
    }
    public void setMENU_URL(String mENU_URL) {
        MENU_URL = mENU_URL;
    }
    public String getPARENT_ID() {
        return PARENT_ID;
    }
    public void setPARENT_ID(String pARENT_ID) {
        PARENT_ID = pARENT_ID;
    }
    public String getMENU_ORDER() {
        return MENU_ORDER;
    }
    public void setMENU_ORDER(String mENU_ORDER) {
        MENU_ORDER = mENU_ORDER;
    }


    public boolean isHasMenu() {
        return hasMenu;
    }
    public void setHasMenu(boolean hasMenu) {
        this.hasMenu = hasMenu;
    }
    public String getTarget() {
        return target;
    }
    public void setTarget(String target) {
        this.target = target;
    }
    public String getMENU_ICON() {
        return MENU_ICON;
    }
    public void setMENU_ICON(String mENU_ICON) {
        MENU_ICON = mENU_ICON;
    }
    public String getMENU_TYPE() {
        return MENU_TYPE;
    }
    public void setMENU_TYPE(String mENU_TYPE) {
        MENU_TYPE = mENU_TYPE;
    }

    public Resource getParentMenu() {
        return parentMenu;
    }

    public void setParentMenu(Resource parentMenu) {
        this.parentMenu = parentMenu;
    }

    public List<Resource> getSubMenu() {
        return subMenu;
    }

    public void setSubMenu(List<Resource> subMenu) {
        this.subMenu = subMenu;
    }

    @Override
    public String toString() {
        return "Resource{" +
                "MENU_ID='" + MENU_ID + '\'' +
                ", MENU_NAME='" + MENU_NAME + '\'' +
                ", MENU_URL='" + MENU_URL + '\'' +
                ", PARENT_ID='" + PARENT_ID + '\'' +
                ", MENU_ORDER='" + MENU_ORDER + '\'' +
                ", MENU_ICON='" + MENU_ICON + '\'' +
                ", MENU_TYPE='" + MENU_TYPE + '\'' +
                ", target='" + target + '\'' +
                ", parentMenu=" + parentMenu +
                ", subMenu=" + subMenu +
                ", hasMenu=" + hasMenu +
                '}';
    }
}